package xyz.zhzby.cyzx.com.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.zhzby.cyzx.servicebase.domain.PageRequest;

/**
 * @author zby
 * @date 2022/02/16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("讨论查询封装")
public class DiscussionPageRequest extends PageRequest {

    @ApiModelProperty("所属文章/试题的ID")
    private Long ownerId;

    @ApiModelProperty("查询开始下标")
    private Long startRow;

    public Long getStartRow() {
        return super.getStartRow();
    }

    //后期可以加入按照时间排序还是热度（点赞量）排序

}
